class Fruit {
    public void eat() {}
}

class Apple extends Fruit {
    public void eat() {
        System.out.println("eat Apple");
    }
}

class Banana extends Fruit {
    public void eat() {
        System.out.println("eat Banana");
    }
}